//服务器基本信息
"use strict"
const dbase = require("../dbase");

class game extends dbase.redis {
    constructor(sid) {
        super(sid, 'game', 'game');
    }

    get(key) {
        return super.get(null, key);
    }
    set(key, val) {
        return super.set(null, key, val);
    }

    incr(key, val) {
        return super.incr(null, key, val);
    }
}


module.exports = function (sid) {
    return new game(sid);
};